/*
 * @Descripttion: 
 * @version: 巡检
 * @Author: ada.wu
 * @Date: 2023-10-30 16:11:30
 * @LastEditors: ada.wu
 * @LastEditTime: 2023-11-03 22:18:07
 */
/**
 * @name: 资产管理字段
 * @param {*}
 * @return {*}
 */

import { mapValue } from '@/utils/EsCommon';

export function workerorderParams() {
  const modelRef = {
    id: "",
    buildingId: "",
    floorId: "",
    name: "",
    type: "",
    roomId: "",
    brand: "",
    model: "",
    serviceLife: "",
    purchasingDate: "",
    group: "",
    status: "0",
  }
  return modelRef
}


export const WORKER_FAULT_TYPE = {
  '1': '设备故障',
  '2': '网络故障',
  '3': '电路故障',
  '4': '其他故障',
}
export const WORKER_STATUS = {
  '0': '未处理',
  '1': '延后处理',
  '2': '已解决',
  '3': '不需要处理',
}

export const workerStatusList = mapValue(WORKER_STATUS);
export const workerFaultTypeList = mapValue(WORKER_FAULT_TYPE);
